package com.jzd1997.lesson7;

/**
 * @Author: jiangzd
 * @Date: 19:34 2019/7/23
 */
public class Proxy implements GiveGift {
    Pursuit gg;
    public Proxy(SchoolGirl mm){
        gg = new Pursuit(mm);
    }

    @Override
    public void giveDolls() {
        gg.giveDolls();
    }

    @Override
    public void giveFlowers() {
        gg.giveFlowers();
    }

    @Override
    public void giveChocolate() {
        gg.giveChocolate();
    }
}
